\hypertarget{classguild__service_1_1common_1_1service__redis__client}{}\doxysection{guild\+\_\+service\+::common\+::service\+\_\+redis\+\_\+client Class Reference}
\label{classguild__service_1_1common_1_1service__redis__client}\index{guild\_service::common::service\_redis\_client@{guild\_service::common::service\_redis\_client}}


服务redis客户端类  




{\ttfamily \#include $<$service\+\_\+redis\+\_\+client.\+hpp$>$}

Inheritance diagram for guild\+\_\+service\+::common\+::service\+\_\+redis\+\_\+client\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classguild__service_1_1common_1_1service__redis__client}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classguild__service_1_1common_1_1service__redis__client_aa69e0b723aa3132117be689b5ae86ae8}\label{classguild__service_1_1common_1_1service__redis__client_aa69e0b723aa3132117be689b5ae86ae8}} 
using {\bfseries service\+\_\+context\+\_\+type} = kratos\+::service\+::\+Service\+Context
\item 
\mbox{\Hypertarget{classguild__service_1_1common_1_1service__redis__client_ad5b8eb3eda7fcf67805109c7763f9df1}\label{classguild__service_1_1common_1_1service__redis__client_ad5b8eb3eda7fcf67805109c7763f9df1}} 
using {\bfseries redis\+\_\+ptr\+\_\+type} = kratos\+::service\+::\+Redis\+Ptr
\item 
\mbox{\Hypertarget{classguild__service_1_1common_1_1service__redis__client_aa9572097d5ea4fee561b17bc053ad858}\label{classguild__service_1_1common_1_1service__redis__client_aa9572097d5ea4fee561b17bc053ad858}} 
using {\bfseries redis\+\_\+handler\+\_\+type} = kratos\+::redis\+::\+Redis\+Handler
\item 
\mbox{\Hypertarget{classguild__service_1_1common_1_1service__redis__client_ad2704f70c961a40d03f88deb3d66d371}\label{classguild__service_1_1common_1_1service__redis__client_ad2704f70c961a40d03f88deb3d66d371}} 
using {\bfseries redis\+\_\+result\+\_\+type} = kratos\+::redis\+::\+Result
\item 
\mbox{\Hypertarget{classguild__service_1_1common_1_1service__redis__client_a24cd772bdb13f372f951f988a14ec460}\label{classguild__service_1_1common_1_1service__redis__client_a24cd772bdb13f372f951f988a14ec460}} 
using {\bfseries redis\+\_\+reply\+\_\+type} = redis\+Reply
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classguild__service_1_1common_1_1service__redis__client_a3c08a81904d9c06be049dde10db46e34}\label{classguild__service_1_1common_1_1service__redis__client_a3c08a81904d9c06be049dde10db46e34}} 
{\bfseries service\+\_\+redis\+\_\+client} (service\+\_\+context\+\_\+type $\ast$context)
\item 
\mbox{\Hypertarget{classguild__service_1_1common_1_1service__redis__client_a4dbd9d0d8f97f6360a784333af9c645c}\label{classguild__service_1_1common_1_1service__redis__client_a4dbd9d0d8f97f6360a784333af9c645c}} 
const redis\+\_\+ptr\+\_\+type \& {\bfseries operator-\/$>$} () const
\item 
virtual bool \mbox{\hyperlink{classguild__service_1_1common_1_1service__redis__client_a38a189add0de8db7b5397b1e02f5148a}{start}} () override
\item 
bool \mbox{\hyperlink{classguild__service_1_1common_1_1service__redis__client_a9eb76fedbc43d575e35d2bd3b7b21cec}{stop}} ()
\item 
std\+::size\+\_\+t \mbox{\hyperlink{classguild__service_1_1common_1_1service__redis__client_a1f8299bef09b793943c2599a14d1cb6f}{update}} (std\+::time\+\_\+t ms)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
服务redis客户端类 

Service\+Box提供的redis\+\_\+client的包装类 

\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classguild__service_1_1common_1_1service__redis__client_a38a189add0de8db7b5397b1e02f5148a}\label{classguild__service_1_1common_1_1service__redis__client_a38a189add0de8db7b5397b1e02f5148a}} 
\index{guild\_service::common::service\_redis\_client@{guild\_service::common::service\_redis\_client}!start@{start}}
\index{start@{start}!guild\_service::common::service\_redis\_client@{guild\_service::common::service\_redis\_client}}
\doxysubsubsection{\texorpdfstring{start()}{start()}}
{\footnotesize\ttfamily virtual bool guild\+\_\+service\+::common\+::service\+\_\+redis\+\_\+client\+::start (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}

\begin{DoxyReturn}{Returns}
true 

false 
\end{DoxyReturn}


Reimplemented from \mbox{\hyperlink{classguild__service_1_1common_1_1service__tool_a2031e4504dfb311eec63267d6a835318}{guild\+\_\+service\+::common\+::service\+\_\+tool}}.

\mbox{\Hypertarget{classguild__service_1_1common_1_1service__redis__client_a9eb76fedbc43d575e35d2bd3b7b21cec}\label{classguild__service_1_1common_1_1service__redis__client_a9eb76fedbc43d575e35d2bd3b7b21cec}} 
\index{guild\_service::common::service\_redis\_client@{guild\_service::common::service\_redis\_client}!stop@{stop}}
\index{stop@{stop}!guild\_service::common::service\_redis\_client@{guild\_service::common::service\_redis\_client}}
\doxysubsubsection{\texorpdfstring{stop()}{stop()}}
{\footnotesize\ttfamily bool guild\+\_\+service\+::common\+::service\+\_\+redis\+\_\+client\+::stop (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

\begin{DoxyReturn}{Returns}
true 

false 
\end{DoxyReturn}


Reimplemented from \mbox{\hyperlink{classguild__service_1_1common_1_1service__tool_a8e1bb0c64cf1d7b93ac0152dea7fd4b6}{guild\+\_\+service\+::common\+::service\+\_\+tool}}.

\mbox{\Hypertarget{classguild__service_1_1common_1_1service__redis__client_a1f8299bef09b793943c2599a14d1cb6f}\label{classguild__service_1_1common_1_1service__redis__client_a1f8299bef09b793943c2599a14d1cb6f}} 
\index{guild\_service::common::service\_redis\_client@{guild\_service::common::service\_redis\_client}!update@{update}}
\index{update@{update}!guild\_service::common::service\_redis\_client@{guild\_service::common::service\_redis\_client}}
\doxysubsubsection{\texorpdfstring{update()}{update()}}
{\footnotesize\ttfamily std\+::size\+\_\+t guild\+\_\+service\+::common\+::service\+\_\+redis\+\_\+client\+::update (\begin{DoxyParamCaption}\item[{std\+::time\+\_\+t}]{ms }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}


\begin{DoxyParams}{Parameters}
{\em ms} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
std\+::size\+\_\+t 
\end{DoxyReturn}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
redis/\mbox{\hyperlink{service__redis__client_8hpp}{service\+\_\+redis\+\_\+client.\+hpp}}\end{DoxyCompactItemize}
